<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    * {
        padding: 0;
        margin: 0;
    }

    .banner-show {
        width: 250px;
        height: 150px;
        margin: 100px auto;
        overflow: hidden;
    }

    .banner-show .content {
        list-style-type: none;
        width: 600%;
        height: 100%;
        background-color: brown;
        display: flex;
        flex-direction: row;
        margin-left: -100%;
        animation: bannershow 12s linear infinite;
        /*动画名、完成时间、匀速、循环*/
        animation-play-state: running;
    }

    .banner-show .content .item {
        width: 250px;
        height: 150px;
        background-size: cover;
        /*图片完整*/
    }

    .banner-show .left,
    .right {
        width: 250px;
        height: 150px;
        margin: 100px auto;
        /* overflow: hidden; */
    }

    @keyframes bannershow {
        from {
            margin-left: 0;
        }

        to {
            margin-left: -500%;
        }
    }
</style>

<body>
    <div class="banner-show">
        <ul class="content">
            <li class="item" style="background-image: url(imglunbotu/l1.jpg);"></li>
            <li class="item" style="background-image: url(imglunbotu/l2.jpg);"></li>
            <li class="item" style="background-image: url(imglunbotu/l3.jpg);"></li>
            <li class="item" style="background-image: url(imglunbotu/l4.jpg);"></li>
            <li class="item" style="background-image: url(imglunbotu/l5.jpg);"></li>
            <li class="item" style="background-image: url(imglunbotu/l1.jpg);"></li>
        </ul>
    </div>
</body>

</html>